package com.example.blog.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 枚举
 * @return 判断状态
 */
@AllArgsConstructor
public enum ResultEnums {
    SUCCESS(200),
    NO_LOGIN(-2),
    NO_REGISTER(-3),
    FAIL(-1),
    NOT_FIND(404),
    WRONG_PARAM(-4),
    NULL_PARAM(-5),
    ;

    @Getter
    int code;
}
